package com.witte.dao;

import com.witte.entity.Offer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface OfferMapper {
    int deleteByPrimaryKey(String offerno);

    int insert(Offer record);

    int insertSelective(Offer record);

    Offer selectByPrimaryKey(String offerno);

    int updateByPrimaryKeySelective(Offer record);

    int updateByPrimaryKey(Offer record);

    List<Offer> selectForPage(@Param("beginPage") Integer beginPage, @Param("pageSize") Integer pageSize);

    int getAllCount();
}